<template>
  <el-checkbox-group v-model="_value">
    <el-checkbox
      v-for="(item, index) in options"
      :key="index"
      v-bind="item"
      :label="item.value">
      {{ item.title }}
    </el-checkbox>
  </el-checkbox-group>
</template>

<script>
import componentMixins from "@/components/ProForm/componentMixins";

export default {
  name: "CheckboxGroup",
  mixins: [componentMixins],
  props: {
    value: {
      type: Array,
      default: () => []
    },
    options: {
      type: Array,
      default: () => []
    }
  }

}
</script>

<style scoped>

</style>
